package cn.tedu.csmall.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import java.io.Serializable;

@Data
public class CategoryStandardVO implements Serializable {

    @ApiModelProperty(value = "数据id", position = 1)
    @Range(min = 1)
    private Long id;

    @ApiModelProperty(value = "类别名称", position = 2)
    private String name;

    @ApiModelProperty(value = "父级类别id", position = 3)
    private Long parentId;

    @ApiModelProperty(value = "类别深度", position = 4)
    private Integer depth;

    @ApiModelProperty(value = "类别关键词", position = 5)
    private String keywords;

    @ApiModelProperty(value = "自定义排序序号", position = 6)
    private Integer sort;

    @ApiModelProperty(value = "图标的URL", position = 7)
    private String icon;

    @ApiModelProperty(value = "是否启用，1=启用，0=禁用", position = 8)
    private Integer enable;

    @ApiModelProperty(value = "是否为父级(是否包含子级)，1=是，0=不是", position = 9)
    private Integer parent;

    @ApiModelProperty(value = "是否显示在导航栏，1=显示，0=隐藏", position = 10)
    private Integer display;

}
